package com.sinkingsquare.business;

import java.util.List;

import com.sinkingsquare.domain.Account;

public interface BusinessService {
	//account service
	public abstract boolean accountExists(Account account) throws Exception;

	public abstract void addAccount(Account account);
	
	public abstract boolean accountLogin(String username, String password) throws Exception;
	
	public abstract List<Account> getAllAccounts();
	
	public abstract Account loadAccountById(int id);
	
	
}
